import api from '@/common/request/index.js'
const state = {
    task: [], // 任务列表
	status: false,
	taskDeatil: {}
}
// 同步
const mutations = {
    
}
// 异步
const actions = {
  get_task({commit, state}, payload) {
      state.task = payload;
  },
  get_status({commit, state}, payload) {
      state.status = payload;
  },
  get_taskDetail({commit, state}, payload) {
      state.taskDeatil = payload;
  },
}



export default {
    namespaced: true,
    state,
    mutations,
    actions
}